﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Sys_PositionCollection : List<Sys_Position>
    {
        public int IndexOf(Sys_Position item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Sys_Position item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Sys_Position this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Sys_Position item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Sys_Position item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Sys_Position[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Sys_Position item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Sys_Position> GetEnumerator()
        {
            return base.GetEnumerator();
        }  
    }
    public class Sys_Position
    {
        private int _IdPos;

        public int IdPos
        {
            get { return _IdPos; }
            set { _IdPos = value; }
        }
        private string _PosCode;

        public string PosCode
        {
            get { return _PosCode; }
            set { _PosCode = value; }
        }
        private string _PosName;

        public string PosName
        {
            get { return _PosName; }
            set { _PosName = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
    }
}
